<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

		<title>首页</title>

		<link href="../AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" />
		<link href="../AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css" />

		<link href="../basic/css/demo.css" rel="stylesheet" type="text/css" />

		<link href="../css/hmstyle.css" rel="stylesheet" type="text/css"/>
		<link href="../css/skin.css" rel="stylesheet" type="text/css" />
		<script src="../AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
		<script src="../AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>


		<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
		<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
		<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>


	</head>
	<body>
		<div class="hmtop">
			<!--顶部导航条 -->
			<div class="am-container header">
				<ul class="message-l">
					<div class="topMessage">

					</div>
				</ul>
				<ul class="message-r">

					<div class="topMessage home">
						<div class="menu-hd"><a href="login" target="_top" class="h">登录</a></div>
					</div>
					<div class="topMessage my-shangcheng">
						<div class="menu-hd MyShangcheng"><a href="buquan" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a></div>
					</div>
				</ul>
				</div>

				<!--悬浮搜索框-->

				<div class="nav white">
					<%--<div class="logo"><img src="../images/logo.png" /></div>--%>
					<%--<div class="logoBig">--%>
						<%--<li><img src="../images/logobig.png" /></li>--%>
					<%--</div>--%>

					<div class="search-bar pr">
						<a name="index_none_header_sysc" href="#"></a>
						<%--<form>--%>
							<%--<input id="searchInput" name="index_none_header_sysc" type="text" placeholder="搜索" autocomplete="off">--%>
							<%--<input id="ai-topsearch" class="submit am-btn" value="搜索" index="1" type="submit">--%>
						<%--</form>--%>
					</div>
				</div>

				<div class="clear"></div>
			</div>
			<div class="banner">
                      <!--轮播 -->
						<div class="am-slider am-slider-default scoll" data-am-flexslider id="demo-slider-0">
							<ul class="am-slides">
								<li class="banner1"><a href="firstItem"><img src="../images/index1.jpg" /></a></li>
								<li class="banner2"><a><img src="../images/index2.jpg" /></a></li>
								<li class="banner3"><a><img src="../img/two.jpg" /></a></li>
								<li class="banner4"><a><img src="../img/one.jpg" /></a></li>

							</ul>
						</div>
						<div class="clear"></div>	
			</div>
			<div class="shopNav">
				<div class="slideall">
					
					   <div class="long-title"><span class="all-goods">全部分类</span></div>
					   <div class="nav-cont">
							<ul>
								<li class="index"><a href="#f1">首页</a></li>
                                <li class="qc"><a href="#f1">路由器</a></li>
								  <li class="qc"><a href="#f2">交换机</a></li>
                                <li class="qc"><a href="#f3">网络配件</a></li>
                                <li class="qc last"><a href="#f4">网络存储</a></li>
                                <li class="qc last"><a href="comment">留言</a></li>
                                <li class="qc last"><a href="zhinan">购物指南</a></li>
                                <%--<li class="qc last"><a href="login">登录</a></li>--%>
							</ul>
						</div>
						
						<!--轮播-->
						
						<script type="text/javascript">
							(function() {
								$('.am-slider').flexslider();
							});
							$(document).ready(function() {
								$("li").hover(function() {
									$(".category-content .category-list li.first .menu-in").css("display", "none");
									$(".category-content .category-list li.first").removeClass("hover");
									$(this).addClass("hover");
									$(this).children("div.menu-in").css("display", "block")
								}, function() {
									$(this).removeClass("hover")
									$(this).children("div.menu-in").css("display", "none")
								});
							})
						</script>
	
				<script type="text/javascript">
					if ($(window).width() < 640) {
						function autoScroll(obj) {
							$(obj).find("ul").animate({
								marginTop: "-39px"
							}, 500, function() {
								$(this).css({
									marginTop: "0px"
								}).find("li:first").appendTo(this);
							})
						}
						$(function() {
						$(function() {
							setInterval('autoScroll(".demo")', 3000);
						})
					}
				</script>
			</div>


                    <div id="f1">
					<!--路由器-->
					
					<div class="am-container ">
						<div class="shopTitle ">
							<h4>路由器</h4>
							<h3> </h3>

						</div>
					</div>


						<div class="am-g am-g-fixed flood method3 ">
							<ul class="am-thumbnails ">
								<c:forEach items="${productRouter}" var="router">
									<li>
										<div class="list ">
											<a href="introduction?id=${router.id}">
												<img src="${router.imgPath}" />
												<div class="pro-title ">${router.name}</div>
												<span class="e-price ">${router.price}</span>
											</a>
										</div>
									</li>
								</c:forEach>

							</ul>

						</div>
					</div>

  
                    <div id="f2">
					<!--交换机-->
					<div class="am-container ">
						<div class="shopTitle ">
							<h4>交换机</h4>
							<h3> </h3>

						</div>

						<div class="am-g am-g-fixed flood method3 ">
							<ul class="am-thumbnails ">
								<c:forEach items="${productSwitch}" var="router">
									<li>
										<div class="list ">
											<a href="introduction?id=${router.id}">
												<img src="${router.imgPath}" />
												<div class="pro-title ">${router.name}</div>
												<span class="e-price ">${router.price}</span>
											</a>
										</div>
									</li>
								</c:forEach>

							</ul>

						</div>


						
					</div>

					<div class="clear "></div>
					</div>

        
                    <div id="f3">
					<!--网络配件-->
					
					<div class="am-container ">
						<div class="shopTitle ">
							<h4>网络配件</h4>
							<h3> </h3>

						</div>
					</div>

						<div class="am-g am-g-fixed flood method3 ">
							<ul class="am-thumbnails ">
								<c:forEach items="${productPeijian}" var="router">
									<li>
										<div class="list ">
											<a href="introduction?id=${router.id}">
												<img src="${router.imgPath}" />
												<div class="pro-title ">${router.name}</div>
												<span class="e-price ">${router.price}</span>
											</a>
										</div>
									</li>
								</c:forEach>

							</ul>

						</div>
                 <div class="clear "></div>                 
                 </div>
  

                    <div id="f4">
					<!--网络存储-->
					<div class="am-container ">
						<div class="shopTitle ">
							<h4>网络存储</h4>
							<h3> </h3>

						</div>
					</div>

						<div class="am-g am-g-fixed flood method3 ">
							<ul class="am-thumbnails ">
								<c:forEach items="${productStore}" var="router">
									<li>
										<div class="list ">
											<a href="introduction?id=${router.id}">
												<img src="${router.imgPath}" />
												<div class="pro-title ">${router.name}</div>
												<span class="e-price ">${router.price}</span>
											</a>
										</div>
									</li>
								</c:forEach>

							</ul>

						</div>

					<div class="clear "></div>
					</div>


   
   
   

		</div>
		</div>
		<%--<!--引导 -->--%>
		<%--<div class="navCir">--%>
			<%--<li class="active"><a href="home.html"><i class="am-icon-home "></i>首页</a></li>--%>
			<%--<li><a href="sort.html"><i class="am-icon-list"></i>分类</a></li>--%>
			<%--<li><a href="shopcart.html"><i class="am-icon-shopping-basket"></i>购物车</a></li>	--%>
			<%--<li><a href="../person/index.html"><i class="am-icon-user"></i>我的</a></li>					--%>
		<%--</div>--%>


	
		<script>
			window.jQuery || document.write('<script src="basic/js/jquery.min.js "><\/script>');
		</script>
		<script type="text/javascript " src="../basic/js/quick_links.js "></script>
	</body>

</html>